package cn.czu.wyw;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @Author wyw
 * @Description sso 单点登录系统
 * @Date 2022/1/17 10:19
 * @Version 1.0
 */
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
@MapperScan(basePackages = "cn.czu.wyw.mapper")
//扫描所有包和相关组件包
@ComponentScan(basePackages = {"cn.czu.wyw", "org.n3r.idworker"})
//开启定时任务
//@EnableScheduling
@EnableSwagger2
public class SSOApplication {
    public static void main(String[] args) {
        SpringApplication.run(SSOApplication.class, args);
    }
}
